import {postUrl,post} from '@/utils/request.js'


//获取用户信息
export async function getUser(data) {
  return post(`/applet/user/getUser`,data)
}
//修改密码
export async function modifyUserPwd(data) {
  return post(`/applet/user/modifyUserPwd`,data)
}
//修改手机号
export async function updateAccount(data) {
  return post(`/applet/reimbursement/person/updateAccount`,data)
}
//修改邮箱
export async function updateAccountEmail(data) {
  return post(`/applet/reimbursement/person/updateAccountEmail`,data)
}
//添加常用报销单位
export async function addCommonAddress (data) {
  return post(`/applet/user/addCommonAddress`, data)
}
//删除常用报销单位
export async function deleteCommonAddress (data) {
  return post(`/applet/user/deleteCommonAddress`, data)
}
//查询常用报销单位
export async function getUserCommonAddress (data) {
  return post(`/applet/user/getUserCommonAddress`, data)
}
//设置默认常用报销单位
export async function defaultCommonAddress (data) {
  return post(`/applet/user/defaultCommonAddress`, data)
}
